import types from './types'

export default {
  [types.SET_SYSTEMS](state, systems) {
    state.systems = systems
  },
  [types.SET_APP_ID](state, appId) {
    state.appId = appId
  },
  [types.INIT_SYSTEMS](state) {
    state.systems = []
    state.appId = null
  }
}
